package com.yzd.learnjava.holding;

import java.util.ArrayList;
import java.util.Collection;

import com.yzd.learnjava.util.Print;

public class SimpleCollection {

	public static void main(String[] args) {
		Collection<Integer> c = new ArrayList<Integer>();
		for(int i = 0 ; i < 10 ; i++) {
			c.add(i);
		}
		
		for(Integer i : c) {
			Print.printnb(i + ", ");
		}
	}

}
